<%-- 
    Document   : displaySubject
    Created on : Oct 27, 2009, 9:00:04 PM
    Author     : tungttgroup1
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" import="java.sql.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        
    </head>
    <body>
        <jsp:useBean id="Subject" class="DAO.DAOTest" scope="request" />
       
            <ul>
                <%
                ResultSet rs = null;
                rs = Subject.selectSubject();
                while(rs.next()){
                %>
                <li><a href="displaySubSubject.jsp?SubjectID=<%=rs.getString("SubjectID") %>" ><%=rs.getString("SubjectName") %></a></li>
                <%
                }
                %>
            </ul>
    </body>
</html>
